import request from "@/util/axios";

export const translate = (pageId) =>
    request({
        url: "/api/manga/ai/ocrMark",
        method: "get",
        params: {pageId},
        timeout: 360000 // 360s
    })

export const ocrCheck = (pageId) =>
    request({
        url: "/api/manga/ai/ocrCheck",
        method: "get",
        params: {pageId}
    })